<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="__PUBLIC__/Css/bootstrap.css">
<link rel="stylesheet" href="__PUBLIC__/Css/Home/layout.css">
	<title></title>
</head>
<body class='container' >
	<div class="navbar navbar-default" role="navigation" id='daohang'>
        <div class="navbar-header">
			<a class="navbar-brand" href="#"><strong>启明星签到</strong></a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li><a href="__APP__/Qiandao/index">签到</a></li>
            <li><a href="__APP__/Qiandao/showinfo">本周详细签到情况</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
			  <li class="active"><a><?php echo (session('name')); ?></a></li>
            <li><a href="http://bbs.xlanlab.com">返回论坛</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>

	 <div>
		 <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="__PUBLIC__/Css/Home/index.css">
	<title></title>
</head>
<body class='container'>
<center>
	<br/>
	<h4><strong>你是第一次使用签到系统，请填写姓名及组别初始化你的账号。</strong></h4><br/>
	<form role='form' class='form-horizontal' action="__URL__/doInit" method='post'>
		<input id='input_name' class='form-control'type="text" name='username' placeholder="请输入姓名" ><br/><br/>
		<select id='input_group' class='form-control' name="group">
			<?php if(is_array($groarr)): $i = 0; $__LIST__ = $groarr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option  value='<?php echo ($i); ?>'><?php echo ($vo[groupname]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
		</select>
		<br/>
		<br/>
		<button id='input_submit' class='btn btn-lg btn-primary btn-block' type="submit">确认</button>
	</form>
</center>
</body>
</html>

	 </div>
</body>
</html>